package com.wish.housing.service.impl;

import com.wish.housing.entity.Region;
import com.wish.housing.mapper.RegionMapper;
import com.wish.housing.service.IRegionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 王泓翔-杨子强-地区表 服务实现类
 * </p>
 *
 * @author benjamin
 * @since 2022-03-28
 */
@Service
public class RegionServiceImpl extends ServiceImpl<RegionMapper, Region> implements IRegionService {

    @Override
    public List<Region> getProvince(Integer pid) {
        return getBaseMapper().getProvince(pid);
    }
}
